#!/bin/bash

echo_with_color() {
    echo -e "\n\033[34m$1\033[0m"
}

echo_verbosely() {
    if [ $verbose = "true" ]; then
        echo -n "[DEBUG] "
        echo "$@"
    fi
}

exit_with_message() {
    errcode=$?
    msg="$1"
    echo "Error: code=$errcode. $msg"
    exit 1
}


